package com.group.weekmgr;

import java.sql.Date;

public class WeekDataBean {
	
	private String id;	//	아이디
	private Date dt;	//	작성일자
	private int week_flag;	// week 구분자 (0:지난주, 1: 금주);
	private String[] work_code;	//	업무코드
	private String[] sale_memo;	// 활동내역
	private String[] activity_spec;	// 주요추진사항
	private int check_date;	// 체크한 요일 (1:월요일, 2:화요일, 3:수요일~7:일요일)
	private String[] target_date;	// 완료 일정
	private int target_ratio;	// 실행
	private int act_ratio;	//완료
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getDt() {
		return dt;
	}
	public void setDt(Date dt) {
		this.dt = dt;
	}
	public int getWeek_flag() {
		return week_flag;
	}
	public void setWeek_flag(int week_flag) {
		this.week_flag = week_flag;
	}
	public String[] getWork_code() {
		return work_code;
	}
	public void setWork_code(String[] work_code) {
		this.work_code = work_code;
	}
	
	public String[] getSale_memo() {
		return sale_memo;
	}
	public void setSale_memo(String[] sale_memo) {
		this.sale_memo = sale_memo;
	}
	public String[] getActivity_spec() {
		return activity_spec;
	}
	public void setActivity_spec(String[] activity_spec) {
		this.activity_spec = activity_spec;
	}
	public int getCheck_date() {
		return check_date;
	}
	public void setCheck_date(String[] check_dates) {

		int chk_data = 0;
		for(int i=0; i<check_dates.length; i++){
			chk_data = Integer.parseInt(check_dates[i]);
		}
		this.check_date = chk_data;
	}
	public String[] getTarget_date() {
		return target_date;
	}
	public void setTarget_date(String[] target_date) {
		this.target_date = target_date;
	}
	public int getTarget_ratio() {
		return target_ratio;
	}
	public void setTarget_ratio(String[] target_ratios) {
		int target_ratio = 0;
		for(int i=0; i<target_ratios.length; i++){
			target_ratio = Integer.parseInt(target_ratios[i]);
		}
		this.target_ratio = target_ratio;
	}
	public int getAct_ratio() {
		return act_ratio;
	}
	public void setAct_ratio(String[] act_ratios) {
		
		int act_ratio = 0;
		for(int i=0; i<act_ratios.length; i++){
			act_ratio = Integer.parseInt(act_ratios[i]);
		}
		this.act_ratio = act_ratio;
	}
	
}
